package com.dhcc.bpm.modules.api.service;

import com.dhcc.bpm.modules.api.entity.PolicyItem;
import org.springblade.core.mp.base.BaseService;

import java.util.List;

/**
 * @Title
 * @ClassName IPolicyService
 * @Desription
 * @Author zhangzexu
 * @Date 2020/10/9 15:10
 * @Version V1.0
 */
public interface IPolicyItemService extends BaseService<PolicyItem> {

boolean updatePolicyItem (PolicyItem policyItem);

List<PolicyItem> selectByParentId(PolicyItem policyItem);

boolean updateDeletePolicyItem (PolicyItem policyItem);

boolean deletePolicyItem (Long policyItemId);
boolean deletePolicyItemTagId (Long policyTagId);
boolean updatePolicyItemAll (PolicyItem policyItem);
}
